<?php
require_once 'FModel/Common/Dao/BaseDao.php';

class CmsBaseDao extends BaseDao {
	
	public function getConnection() {
		if (null != $this->connection) {
			return $this->connection;
		}
		require_once 'Models/Cms/Dao/CmsConnectionFactory.php';
		$this->connection = CmsConnectionFactory::getInstance()->getConnection();
		return $this->connection;
	}
}

